/**
 * 
 */
package com.igeekhome.service;

import com.github.pagehelper.PageInfo;
import com.igeekhome.dto.EmpDto;
import com.igeekhome.pojo.SysStaffEnclose;


/**
 * @author 立以宁
 */
public interface ISysStaffEncloseService {

	PageInfo<SysStaffEnclose> selectAll(Integer limit, Integer page, SysStaffEnclose condition);
	
	/*
	* @Description 返回员工信息列表
	* @Param [limit, page, condition]
	* @Return com.github.pagehelper.PageInfo<com.igeekhome.pojo.SysStaffEnclose>
	**/
	PageInfo<SysStaffEnclose> selectByAll(Integer limit, Integer page, EmpDto emp);

	SysStaffEnclose selectByPrimaryKey(Integer id);

	 void add(SysStaffEnclose staff);

	 void update(SysStaffEnclose staff);
	 void deleteByno(Integer id);
}
